package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * WP-核查结果配置
 * @author xiaochuan
 * @since 2022-07-29
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblWpCheckOutConfig extends BaseModel implements Serializable {


    /**
     * 差异类型
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "差异类型")
    @ApiModelProperty(value = "差异类型")
    @NotBlank(message="差异类型不能为空")
    private String diffType;

    /**
     * 跟进部门
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "跟进部门")
    @ApiModelProperty(value = "跟进部门")
    private String followUpDept;

    /**
     * 核查结果
     */
    @ColumnWidth(30)
    @ExcelProperty(value = "核查结果")
    @ApiModelProperty(value = "核查结果")
    private String checkResult;

    /**
     * 责任方
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "责任方")
    @ApiModelProperty(value = "责任方")
    private String responsibleParty;

    /**
     * 损失原因
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "损失原因")
    @ApiModelProperty(value = "损失原因")
    private String lossReason;
}
